package com.microservice.base.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;
import java.util.Date;

/**
 * @author jbx
 * @package_name com.microservice.base.entity
 * @create_date 2020/12/8 17:04
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Face implements Serializable {
    private static final long serialVersionUID = 6939948007333355867L;
    @Length(max = 48)
    @ApiModelProperty(value = "人员Id")
    private String personId;
    @Length(max = 1024)
    @ApiModelProperty(value = "人脸url")
    private String faceUrl;
    @ApiModelProperty(value = "状态")
    private Integer status;
    @ApiModelProperty(value = "最近更新时间")
    private Date updateTime;
    @ApiModelProperty(value = "操作类型")
    private Integer operation;
    @ApiModelProperty(value = "海康返回的faceid")
    private String faceId;
}
